<?php

/**
 * 分集
 */
Route::get('entity/asset/audio/iaserials', ['as'=> 'entity.asset.video.iaserials.index', 'uses' => 'Entity\Asset\Audio\IaserialiController@index']);
Route::post('entity/asset/audio/iaserials', ['as'=> 'entity.asset.video.iaserials.store', 'uses' => 'Entity\Asset\Audio\IaserialiController@store']);
Route::get('entity/asset/audio/iaserials/create', ['as'=> 'entity.asset.video.iaserials.create', 'uses' => 'Entity\Asset\Audio\IaserialiController@create']);
Route::put('entity/asset/audio/iaserials/{iaserials}', ['as'=> 'entity.asset.video.iaserials.update', 'uses' => 'Entity\Asset\Audio\IaserialiController@update']);
Route::patch('entity/asset/audio/iaserials/{iaserials}', ['as'=> 'entity.asset.video.iaserials.update', 'uses' => 'Entity\Asset\Audio\IaserialiController@update']);
Route::delete('entity/asset/audio/iaserials/{iaserials}', ['as'=> 'entity.asset.video.iaserials.destroy', 'uses' => 'Entity\Asset\Audio\IaserialiController@destroy']);
Route::get('entity/asset/audio/iaserials/{iaserials}', ['as'=> 'entity.asset.video.iaserials.show', 'uses' => 'Entity\Asset\Audio\IaserialiController@show']);
Route::get('entity/asset/audio/iaserials/{iaserials}/edit', ['as'=> 'entity.asset.video.iaserials.edit', 'uses' => 'Entity\Asset\Audio\IaserialiController@edit']);


// 分集详情
Route::get('entity/asset/audio/iaserials/vseriali_details/{vseriali_id}', ['as'=> 'entity.asset.video.iaserials.vseriali_details', 'uses' => 'Entity\Asset\Audio\IaserialiController@vserialiDetails']);

/**
 * 分集上线, 下线, 发布
 */
// 分集全部上线
Route::get('entity/asset/audio/iaserials/vseriali_details/all_up/view', [
    'as'=> 'entity.asset.video.iaserials.all_up', 
    'uses' => 'Entity\Asset\Audio\IaserialiController@allUp'
]);
// 分集全部下线
Route::get('entity/asset/audio/iaserials/vseriali_details/all_down/view', [
    'as'=> 'entity.asset.video.iaserials.all_down', 
    'uses' => 'Entity\Asset\Audio\IaserialiController@allDown'
]);
// 分集上线发布
Route::get('entity/asset/audio/iaserials/vseriali_details/publish/view', [
    'as'=> 'entity.asset.video.iaserials.publish', 
    'uses' => 'Entity\Asset\Audio\IaserialiController@publish'
]);
// 分集单个,批量上线发布
Route::post('entity/asset/audio/iaserials/vseriali_details/publish_one/view', [
    'as'=> 'entity.asset.video.iaserials.publish_one', 
    'uses' => 'Entity\Asset\Audio\IaserialiController@batchModerate'
]);
// 分集单个,批量下线发布
Route::post('entity/asset/audio/iaserials/vseriali_details/publish_down_one/view', [
    'as'=> 'entity.asset.video.iaserials.publish_down_one', 
    'uses' => 'Entity\Asset\Audio\IaserialiController@batchModerate'
]);
// 分集下线发布
Route::get('entity/asset/audio/iaserials/vseriali_details/publish_down/view', [
    'as'=> 'entity.asset.video.iaserials.publish_down', 
    'uses' => 'Entity\Asset\Audio\IaserialiController@publishDown'
]);
// 上线
Route::post('entity/asset/audio/iaserials/vseriali_details/up/view', [
    'as'=> 'entity.asset.video.iaserials.up', 
    'uses' => 'Entity\Asset\Audio\IaserialiController@batchModerate'
]);
// 下线
Route::post('entity/asset/audio/iaserials/vseriali_details/down/view', [
    'as'=> 'entity.asset.video.iaserials.down', 
    'uses' => 'Entity\Asset\Audio\IaserialiController@batchModerate'
]);
// 查询进度
Route::get('entity/asset/audio/iaserials/vseriali_details/progress/view', [
    'as'=> 'entity.asset.video.iaserials.progress', 
    'uses' => 'Entity\Asset\Audio\IaserialiController@queryProgress'
]);

/**
 * 剧集添加、编辑、删除分集信息
 */
// 列表
Route::get('entity/asset/audio/iaserials/iaasset/{iaasset_id}', ['as'=> 'entity.asset.video.iaserials.iaasset.index', 'uses' => 'Entity\Asset\Audio\IaserialiController@iaassetIndex']);
// 保存
Route::post('entity/asset/audio/iaserials/iaasset/{iaasset_id}', ['as'=> 'entity.asset.video.iaserials.iaasset.store', 'uses' => 'Entity\Asset\Audio\IaserialiController@iaassetStore']);
// 新增视图
Route::get('entity/asset/audio/iaserials/iaasset/{iaasset_id}/create', ['as'=> 'entity.asset.video.iaserials.iaasset.create', 'uses' => 'Entity\Asset\Audio\IaserialiController@iaassetCreate']);
// 更新
Route::put('entity/asset/audio/iaserials/iaasset/{iaasset_id}/{iaserials}', ['as'=> 'entity.asset.video.iaserials.iaasset.update', 'uses' => 'Entity\Asset\Audio\IaserialiController@iaassetUpdate']);
Route::patch('entity/asset/audio/iaserials/iaasset/{iaasset_id}/{iaserials}', ['as'=> 'entity.asset.video.iaserials.iaasset.update', 'uses' => 'Entity\Asset\Audio\IaserialiController@iaassetUpdate']);
// 删除
Route::delete('entity/asset/audio/iaserials/iaasset/{iaasset_id}/{iaserials}', ['as'=> 'entity.asset.video.iaserials.iaasset.destroy', 'uses' => 'Entity\Asset\Audio\IaserialiController@iaassetDestroy']);
// 编辑视图
Route::get('entity/asset/audio/iaserials/iaasset/{iaasset_id}/{iaserials}/edit', ['as'=> 'entity.asset.video.iaserials.iaasset.edit', 'uses' => 'Entity\Asset\Audio\IaserialiController@iaassetEdit']);

